package com.jy.adscm.operation.mscyb.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.mscyb.bean.JqbzAssembly;
import com.jy.adscm.operation.mscyb.bean.JqbzPartsassembly;
import com.jy.adscm.operation.mscyb.bean.JqylMaterial;
import com.jy.adscm.operation.mscyb.bean.JqzzPartsMaterialList;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-06-02
 */
public interface JqzzPartsMaterialListService extends IService<JqzzPartsMaterialList> {

    boolean insertJqzzPartsMaterialList(JqzzPartsMaterialList jqzzPartsMaterialList, Token token)throws AdscmSystemException;

    boolean deleteJqzzPartsMaterialList(Integer id)throws AdscmSystemException;
    boolean updateJqzzPartsMaterrialList(JqzzPartsMaterialList jqzzPartsMaterialList)throws AdscmSystemException;

    List<JqzzPartsMaterialList> selectByTid(String tid)throws AdscmSystemException;

    List<JqbzPartsassembly> queryMaterial(String id,String code)throws AdscmSystemException;
}
